package org.pr.ddddesigner.domain.service;

import org.pr.ddddesigner.domain.aggregation.model.User;
import org.springframework.stereotype.Service;
import reactor.core.publisher.Mono;

/**
 * @description:
 * @projectName:DDD-Designer
 * @see:org.pr.ddddesigner.domain.service
 * @author:LXC
 * @createTime:2024/4/19 13:40
 * @version:1.0
 */
@Service
public class UserDomainService {

    public Mono<User> saveUser(User user){
        return user.saveUser();
    }
}
